val lines=sc.textFile("file:///home/ubuntu1/spark/work6//chapter5-data1.txt")
val rdd=lines.filter(x=>(x.split(",")(1)=="DataBase")).count
println(rdd)
